package com.app.service;

import com.app.mapper.CategoryMapper;
import com.app.pojo.AppCategory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class CategoryServiceImpl implements CategoryService {
    @Resource
    private CategoryMapper categoryMapper;
    @Override
    public List<AppCategory> getCategoryList(Integer parentId) {
        return categoryMapper.getCategoryList(parentId);
    }
}
